count = 0


def func():
    global count
    count += 1


func()
func()
func()
print(count)
